# 员工类
class Staff:
    def __init__(self, name, age):
        self.name = name
        self.age = age

    def run(self):
        print(f'{self.name}跑步')

    def eat(self):
        print(f'{self.name}跑步')


# 讲师类
class Lecturer(Staff):
    def teach1(self):
        print('讲课')


# 班主任
class HeadMaster(Staff):
    def teach2(self):
        print('管理')


lecturer = Lecturer('python', 18)
lecturer.run()
lecturer.eat()
lecturer.teach1()

head_master = HeadMaster('nice', 19)
head_master.run()
head_master.eat()
head_master.teach2()
